using UnityEngine;
using UnityEngine.InputSystem;

public partial class Player
{

    public InputAction moveAction;
    public InputAction lookAction;
    public InputAction fireAction;
    public InputAction dashAction;
    public InputAction jumpAction;
    public InputAction attackAction;
    public InputAction heavyAttackAction;
    public InputAction walkAction;
    public InputAction counterAttackAction;
    public InputAction aimSwordAction;
    public InputAction useSkillAction;
    public InputAction closeSkillAction;
    public InputAction useSkill1Action;
    public InputAction useSkill2Action;
    public InputAction useSkill3Action;
    public InputAction useSkill4Action;
    public InputAction useSkill5Action;
    public InputAction navigateAction;
    public InputAction submitAction;
    public InputAction cancelAction;
    public InputAction pointAction;
    public InputAction clickAction;
    public InputAction scrollWheelAction;
    public InputAction middleClickAction;
    public InputAction rightClickAction;
    public InputAction trackedDevicePositionAction;
    public InputAction trackedDeviceOrientationAction;
    public InputAction openBagAction;
    public InputAction spaceAction;
    public InputAction interactionAction;
    public InputAction exitAction;

    private void InitActions()
    {
        moveAction = playerInput.actions["Move"];
        lookAction = playerInput.actions["Look"];
        fireAction = playerInput.actions["Fire"];
        dashAction = playerInput.actions["Dash"];
        jumpAction = playerInput.actions["Jump"];
        attackAction = playerInput.actions["Attack"];
        heavyAttackAction = playerInput.actions["HeavyAttack"];
        walkAction = playerInput.actions["Walk"];
        counterAttackAction = playerInput.actions["CounterAttack"];
        aimSwordAction = playerInput.actions["AimSword"];
        useSkillAction = playerInput.actions["UseSkill"];
        closeSkillAction = playerInput.actions["CloseSkill"];
        useSkill1Action = playerInput.actions["UseSkill1"];
        useSkill2Action = playerInput.actions["UseSkill2"];
        useSkill3Action = playerInput.actions["UseSkill3"];
        useSkill4Action = playerInput.actions["UseSkill4"];
        useSkill5Action = playerInput.actions["UseSkill5"];
        navigateAction = playerInput.actions["Navigate"];
        submitAction = playerInput.actions["Submit"];
        cancelAction = playerInput.actions["Cancel"];
        pointAction = playerInput.actions["Point"];
        clickAction = playerInput.actions["Click"];
        scrollWheelAction = playerInput.actions["ScrollWheel"];
        middleClickAction = playerInput.actions["MiddleClick"];
        rightClickAction = playerInput.actions["RightClick"];
        trackedDevicePositionAction = playerInput.actions["TrackedDevicePosition"];
        trackedDeviceOrientationAction = playerInput.actions["TrackedDeviceOrientation"];
        openBagAction = playerInput.actions["OpenBag"];
        spaceAction = playerInput.actions["Space"];
        interactionAction = playerInput.actions["Interaction"];
        exitAction = playerInput.actions["Exit"];
    }
}
